package com.qk.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qk.common.PageResult;
import com.qk.dto.BusinessDto;
import com.qk.entity.Business;

public interface BusinessService extends IService<Business> {
    //列表查询
    PageResult<Business> listBusinesses(BusinessDto businessDto);

    //按照ID查询商机
    Business getBusinessById(Integer id);

    //跟进商机
    void trackBusiness(Business business);

    void toCustomer(Integer id);

    PageResult<Business> listpoolBusinesses(BusinessDto businessDto);
}
